<!-- 共同去处理、规范约定他们 -->
 <!-- Text/Image/Chart -->

 <template>
    <div>
        <img :src="props.block.props.src" :alt="props.block.props.alt" />
    </div>
  </template>
  
  <script setup lang='ts'>
  import type { ImageBlock } from '@/types/block';

  const props=defineProps<{
    block:ImageBlock,
  }>()
  </script>
  
  <style scoped>
  
  </style>